package team.seekers.skill.service;

import org.springframework.transaction.annotation.Transactional;
import team.seekers.skill.entity.dao.UserSkill;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hbc
 * @since 2021-01-27
 */
public interface UserSkillService extends IService<UserSkill> {

    Integer getStatus(String userId,String skillId);

    @Transactional(rollbackFor=Exception.class)
    boolean removeBySkillId(String skillId);
}
